Total Complexity | 20 |
Dependencies | 12 |
Dependents | 2 |
Total lines | 269 |
Lines of code | 177 |
Logical lines of code | 64 |
Comment lines | 70 |
Methods | 6 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
from_wc_order() | 41 | 6 | 71 | |
break_down() | 48 | 6 | 37 | |
from_wc_cart() | 47 | 4 | 41 | |
discounts_from_items() | 59 | 1 | 18 | |
from_paypal_response() | 71 | 2 | 5 | |
__construct() | 74 | 1 | 5 |